﻿using BattleFury.Lib.Managers;
using Microsoft.Xna.Framework;

namespace BattleFury.Lib.Input
{
	public class InputManager
		: Manager
	{
		public KeyboardManager Keyboard { get; private set; }
		public GamePadManager GamePad { get; private set; }
		public MouseManager Mouse { get; private set; }

		public InputManager()
			: base()
		{
			Keyboard = new KeyboardManager();
			GamePad = new GamePadManager();
			Mouse = new MouseManager();
		}

		public override void Update(GameTime gameTime)
		{
			Keyboard.Update(gameTime);
			GamePad.Update(gameTime);
			Mouse.Update(gameTime);
		}
	}
}